// Learn TypeScript:
//  - https://docs.cocos.com/creator/manual/en/scripting/typescript.html
// Learn Attribute:
//  - https://docs.cocos.com/creator/manual/en/scripting/reference/attributes.html
// Learn life-cycle callbacks:
//  - https://docs.cocos.com/creator/manual/en/scripting/life-cycle-callbacks.html

import { BaseView } from "../../libs/lightMVC/core/base/BaseView";

const {ccclass, property} = cc._decorator;

@ccclass
export default class CatalogueView extends BaseView {

   public static readonly Enter = "Enter";

    // LIFE-CYCLE CALLBACKS:

    // onLoad () {}

    public init(data?: any): void {
      
    }
    
    OnClick(){
        this.sendEvent(CatalogueView.Enter, "");
    }
    public static path(): string {

        return "prefab/ui/cataloguePage/CataloguePage";
       
    }

    // update (dt) {}
}
